package com.example.consumer.feign;

import com.example.consumer.pojo.Employee;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "service-provider")
public interface ServiceProviderFeign {
    @GetMapping("/employee/page")
    List<Employee> getEmployeeList();

}
